package com.tarena.lbs.user.pojo.query;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@ApiModel(value = "UserQuery", description = "用户列表")
@Data
public class UserQuery {
    @Schema(description  = "用户名")
    private String userName;
    @Schema(description  = "手机号")
    private String phone;
    @Schema(description  = "来源渠道")
    private Integer providerType;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description  = "注册时间")
    private List<String> regTime;
}
